﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MODEL;
using DAL;

namespace Service
{
    public class AlertRecordService :IAlertRecordService
    {
        public Task<IEnumerable<AlertRecord>> GetAlertRecordsAsync(string userId = null)
        {
            return AlertMakeRecordDAL.GetAlertMakeRecordsAsync(userId);
        }

        public Task<int> ResolvedAlertRecord(List<string> ids)
        {
            return AlertMakeRecordDAL.ResolvedAlertRecord(ids);
        }
    }
}
